//
//  OnlinePeopleView.h
//  tcpoctest
//
//  Created by gump on 5/15/13.
//  Copyright (c) 2013 gump. All rights reserved.
//

#import "EGORefreshTableHeaderView.h"
#import "RefreshTableFooterView.h"
@class SimpleSwitch;

@interface OnlinePeopleView : CommonViewController<
UITableViewDataSource,UITableViewDelegate,EGORefreshTableHeaderDelegate>
{
    UITableView         *mtable;
    int                 iTimeCount;//超时计时
    int                 iGameState;
    
    int                 flag;//标记转了多少次
    int                 count;//总共的在线人数
    NSMutableArray * _datasArr;//显示的数据源
    
    UIButton            *manbtn;
    UIButton            *womenbtn;
    
    EGORefreshTableHeaderView   *_refreshHeaderView;
    BOOL                        _reloading;
    RefreshTableFooterView *     _footerView;
}

-(void)OnlineRequestBakc;

- (void)reloadTableViewDataSource;
- (void)doneLoadingTableViewData;

-(void)InitSwitch;
-(void)FirstLoadingData;

@end
